package com.wanma.recuit.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Dictionary implements Serializable {
    /**
	* 每一项的id
	*/
    private Integer id;

    /**
	* 父级id
	*/
    private Integer parentId;

    /**
	* 每一项的具体内容
	*/
    private String name;

    /**
	* 加入 时间
	*/
    private Date inputtime;


    /**
	* 是否删除
	*/
    private Boolean enable;

    private List<Dictionary> items;
    private List<Dictionary> dictionaries;

    public List<Dictionary> getDictionaries() {
        return dictionaries;
    }

    public void setDictionaries(List<Dictionary> dictionaries) {
        this.dictionaries = dictionaries;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getInputtime() {
        return inputtime;
    }

    public void setInputtime(Date inputtime) {
        this.inputtime = inputtime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public List<Dictionary> getItems() {
        return items;
    }

    public void setItems(List<Dictionary> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", parentId=").append(parentId);
        sb.append(", name=").append(name);
        sb.append(", inputtime=").append(inputtime);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}